﻿<form class="form-inline" name="searchForm" role="form" show-validation >
    <div class="form-group">
        <input type="text" class="form-control" placeholder='@T("Policy.Fields.Id")' ng-model='query.id' />
    </div>
    <div class="form-group">
        <input type="text" class="form-control" placeholder='@T("Policy.Fields.Number")' ng-model='query.Number' ng-pattern="/^.{2,}$/" />
    </div>
    <div class="form-group">
        <input type="text" class="form-control" placeholder='@T("Policy.Fields.PersonName")' ng-model='query.Name' ng-pattern="/^.{2,}$/" />
    </div>
    <select class="form-control" ng-model='query.StateId'>
            @*<option></option>
            @foreach (var item in Dictionary("States"))
            {
                <option value="@item.Id">
                    @item.Name
                </option>
            }*@
    </select>
    <input type="submit" value='@T("Common.Search")' class="submit btn btn-primary" ng-click="search(query)" />
</form>